package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设计成本对象 ecd_design_cost
 * 
 * @author ruoyi
 * @date 2025-11-11
 */
public class EcdDesignCost extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 项次Item */
    @Excel(name = "项次Item")
    private String item;

    /** 费率RMB/H */
    @Excel(name = "费率RMB/H")
    private BigDecimal usageValue;

    /** 费率RMB/H */
    @Excel(name = "耗时/用量/次数")
    private BigDecimal timeUsageNumber;

    /** 产品设计工时费用RMB */
    @Excel(name = "产品设计工时费用RMB")
    private BigDecimal lineCost;

    /** 产品设计工时费用合计RMB */
    @Excel(name = "产品设计工时费用合计RMB")
    private BigDecimal totalCost;

    /** 零件ID */
    @Excel(name = "零件ID")
    private Long pid;

    /** 零件类型ID */
    @Excel(name = "零件类型ID")
    private Long ptype;

    /** uID */
    private String uid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date updateDate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date createDate;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date deleteDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setItem(String item) 
    {
        this.item = item;
    }

    public String getItem() 
    {
        return item;
    }

    public void setUsageValue(BigDecimal usageValue)
    {
        this.usageValue = usageValue;
    }

    public BigDecimal getUsageValue()
    {
        return usageValue;
    }

    public void setTimeUsageNumber(BigDecimal timeUsageNumber)
    {
        this.timeUsageNumber = timeUsageNumber;
    }

    public BigDecimal getTimeUsageNumber()
    {
        return timeUsageNumber;
    }

    public void setLineCost(BigDecimal lineCost) 
    {
        this.lineCost = lineCost;
    }

    public BigDecimal getLineCost() 
    {
        return lineCost;
    }

    public void setTotalCost(BigDecimal totalCost) 
    {
        this.totalCost = totalCost;
    }

    public BigDecimal getTotalCost() 
    {
        return totalCost;
    }

    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }

    public void setPtype(Long ptype) 
    {
        this.ptype = ptype;
    }

    public Long getPtype() 
    {
        return ptype;
    }

    public void setUid(String uid) 
    {
        this.uid = uid;
    }

    public String getUid() 
    {
        return uid;
    }

    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }

    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    public void setDeleteDate(Date deleteDate) 
    {
        this.deleteDate = deleteDate;
    }

    public Date getDeleteDate() 
    {
        return deleteDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("item", getItem())
            .append("usageValue", getUsageValue())
            .append("timeUsageNumber", getTimeUsageNumber())
            .append("lineCost", getLineCost())
            .append("totalCost", getTotalCost())
            .append("pid", getPid())
            .append("ptype", getPtype())
            .append("uid", getUid())
            .append("updateDate", getUpdateDate())
            .append("createDate", getCreateDate())
            .append("deleteDate", getDeleteDate())
            .toString();
    }
}
